* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  font-family: Helvetica Neue, Tahoma, Arial, PingFangSC-Regular, Hiragino Sans GB, Microsoft Yahei, sans-serif;
  background-color: #efefef;
}
a {
  color: #333;
  text-decoration: none;
}
img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
}
ul {
  list-style: none;
}
.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
i,
em {
  font-style: normal;
}
.ellipsis-2 {
  /* 1.溢出隐藏 */
  overflow: hidden;
  /* 2.用省略号来代替超出文本 */
  text-overflow: ellipsis;
  /* 3.设置盒子属性为-webkit-box  必须的 */
  display: -webkit-box;
  /* 4.-webkit-line-clamp 设置为2，表示超出2行的部分显示省略号，如果设置为3，那么就是超出3行部分显示省略号 */
  -webkit-line-clamp: 2;
}
header {
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  height: 24vw;
  color: #000000;
  text-align: center;
  line-height: 11.7333vw;
  font-size: 4.2667vw;
  font-weight: 700;
  background-color: #fff;
  padding-bottom: 2.6667vw;
}
header .search {
  height: 8.2667vw;
  padding-bottom: 2.6667vw;
  background-color: #fff;
}
header .search a {
  display: block;
  width: 100%;
  height: 8.5333vw;
  border-radius: 5.3333vw;
  background-color: #f7f7f7;
  text-align: center;
  line-height: 8.2667vw;
  color: #6d6d6d;
  font-weight: normal;
}
.main {
  margin-top: 24vw;
  display: flex;
  height: 141.3333vw;
  margin-bottom: 13.3333vw;
}
.main .classify-items {
  display: flex;
  flex-direction: column;
  width: 24vw;
  overflow: auto;
}
.main .classify-items .item {
  height: 12vw;
  text-align: center;
  background-color: #f8f8f8;
  line-height: 12vw;
}
.main .classify-items .active {
  background-color: #fff;
  color: red;
  border: 0.2667vw solid #eaeaeac2;
}
.main .classify-items::-webkit-scrollbar {
  display: none;
}
.main .goods-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: flex-start;
  overflow: auto;
  background-color: #fff;
}
.main .goods-items .item-photo {
  width: 24vw;
  height: 30.9333vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.main .goods-items .item-photo img {
  width: 17.8667vw;
  height: 17.8667vw;
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  height: 13.3333vw;
  width: 100%;
  border-top: 0.2667vw solid rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-around;
  background-color: #fff;
}
footer a {
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
footer a .iconfont {
  font-size: 4.8vw;
}
footer a p {
  font-size: 3.2vw;
}
footer .active {
  color: red;
}
